package com.atfusu.service;

import com.atfusu.base.BaseService;
import com.atfusu.bean.entity.Dict;

import java.util.List;
import java.util.Map;

/**
 * Title:
 * Author: fusu
 * DateTime:  2022/11/27
 * Description:
 **/
public interface DictService {

    /**
     * 根据父级id查找子节点的相关数据
     */
    List<Map<String, Object>> findZnodes(Long id);

    List<Dict> findListByParentId(Long id);

    List<Dict> findListByDictCode(String dictCode);

    String getNameById(Long id);
}
